import { NgModule, NgModuleFactory, ModuleWithProviders } from '@angular/core';
import { CoreModule, LazyModuleFactory } from '@abp/ng.core';
import { ThemeSharedModule } from '@abp/ng.theme.shared';
import { ProjComponent } from './components/proj.component';
import { ProjRoutingModule } from './proj-routing.module';

@NgModule({
  declarations: [ProjComponent],
  imports: [CoreModule, ThemeSharedModule, ProjRoutingModule],
  exports: [ProjComponent],
})
export class ProjModule {
  static forChild(): ModuleWithProviders<ProjModule> {
    return {
      ngModule: ProjModule,
      providers: [],
    };
  }

  static forLazy(): NgModuleFactory<ProjModule> {
    return new LazyModuleFactory(ProjModule.forChild());
  }
}
